#ifndef _ETATROBOT_H_
#define _ETATROBOT_H_
#include "Robot.h"

using namespace std;
class Robot;
class EtatRobot {
private:

protected:
	EtatRobot(Robot* robot){
		r = robot;
	}
	Robot* r;
public:
	class NotAllowedInThisState: public exception {
	};
	virtual void saisir() {
		throw NotAllowedInThisState();
	}
	virtual void poser() {
		throw NotAllowedInThisState();
	}
	virtual void figer() {
		throw NotAllowedInThisState();
	}
	virtual void repartir() {
		throw NotAllowedInThisState();
	}
	virtual int peser() {
		throw NotAllowedInThisState();
	}
	virtual void rencontrerObstacle() {
		throw NotAllowedInThisState();
	}
	virtual int evaluerObstacle() {
		throw NotAllowedInThisState();
	}
	virtual void avancer(){
		throw NotAllowedInThisState();
	}
	virtual void tourner(){
		throw NotAllowedInThisState();
	}

};

#endif
